package com.ethink.warehouse.api.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 仓库分仓 修改状态请求对象
 *
 * @author default
 * @date 2022-11-01
 */
@Data
public class SubWarehouseStatusSetRequest {

    @Schema(description ="主键")
    @NotNull(message = "主键不能为空")
    private Long id;

    @Schema(description ="枚举 状态:1-启用(open)|2-关闭(close)")
    @NotNull(message = "状态不能为空")
    private Integer subWarehouseStatus;

}
